public class Test{
    public static void main(String[] args) {
        String s = "guangzhounanfangxueyuan";
        int len = s.length();//计算字符串的长度的方法
        System.out.println(len);
    }
}
